<?php
require_once BASE_PATH.'application/models/basedao'.EXT;
class eventoDAO extends baseDAO {

    var $table = 'evento';
    var $id    = 'num_evento';
	
	
    function __construct()
    {
        // Call the Model constructor
        parent::__construct();

    }
    
    function _defaultSQL(){

	$this->db->where('( f_inicio!="0000-00-00" AND f_inicio >= NOW() )',NULL,false);

    }
    
}
?>